#ifndef FORM_LANGUAGE_H
#define FORM_LANGUAGE_H

#include <QWidget>
#include <QStandardItemModel>
#include <QMap>

#include "config_file.h"

class Sport_language{
public:
    Sport_language();
    QMap<QString, QString> language_mps = QMap<QString, QString>();

};

namespace Ui {
class Form_language;
}

class Form_language : public QWidget
{
    Q_OBJECT

public:
    explicit Form_language(QWidget *parent = 0);
    ~Form_language();

private:
    Ui::Form_language *ui;
    QStandardItemModel* model;
    void InitUI();
    void setLanguageItem();
private:
    void showEvent(QShowEvent*);
    void set_default(QString lang = "");
public slots:
    void on_bt_chose_clicked();
};

#endif // FORM_LANGUAGE_H
